package com.yuexin.project.wechat.domain;

import java.util.Date;

import com.yuexin.framework.web.domain.BaseEntity;

/**
 * 微信用户授权表 wechat_auth_user
 * 
 * @author yuexin
 * @date 2019-01-16
 */
public class AuthUser extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	private Integer authId;
	/** 微信用户openId */
	private String openId;
	/** 微信用户unionId */
	private String unionId;
	/** 微信昵称 */
	private String wxName;
	/** 用户头像储存地址 */
	private String wxHead;
	/** 公司ID */
	private Integer comId;
	/** 公司账号 */
	private String companyAccount;
	/** 用户ID */
	private Integer userId;
	/** 用户账号 */
	private String loginName;
	/** 用户名称 */
	private String userName;
	/** 用户状态0未绑定1已绑定2已解绑 */
	private String status;
	/** 绑定时间 */
	private Date bindTime;
	/** 小程序的appid */
	private String appId;
	/** 公司标识ID */
	private String compId;

	public void setAuthId(Integer authId) 
	{
		this.authId = authId;
	}

	public Integer getAuthId() 
	{
		return authId;
	}
	public void setOpenId(String openId) 
	{
		this.openId = openId;
	}

	public String getOpenId() 
	{
		return openId;
	}
	public void setUnionId(String unionId) 
	{
		this.unionId = unionId;
	}

	public String getUnionId() 
	{
		return unionId;
	}
	public void setWxName(String wxName) 
	{
		this.wxName = wxName;
	}

	public String getWxName() 
	{
		return wxName;
	}
	public void setWxHead(String wxHead) 
	{
		this.wxHead = wxHead;
	}

	public String getWxHead() 
	{
		return wxHead;
	}
	public void setComId(Integer comId) 
	{
		this.comId = comId;
	}

	public Integer getComId() 
	{
		return comId;
	}
	public void setCompanyAccount(String companyAccount) 
	{
		this.companyAccount = companyAccount;
	}

	public String getCompanyAccount() 
	{
		return companyAccount;
	}
	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setLoginName(String loginName) 
	{
		this.loginName = loginName;
	}

	public String getLoginName() 
	{
		return loginName;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}

	public String getUserName() 
	{
		return userName;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setBindTime(Date bindTime) 
	{
		this.bindTime = bindTime;
	}

	public Date getBindTime() 
	{
		return bindTime;
	}
	public void setAppId(String appId) 
	{
		this.appId = appId;
	}

	public String getAppId() 
	{
		return appId;
	}

	public String getCompId() {
		return compId;
	}

	public void setCompId(String compId) {
		this.compId = compId;
	}

}
